package net.zigin.epi.demo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 返回值过滤器
 *
 * @author mgw1986
 * @version V1.0
 * @date 2020-08-11 23:34
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface EpiResponseFilter {
    Class<?> target() default Object.class;

    //要包含的字段，
    String include() default "";
    //要排除的字段
    String exclude() default "";
}
